第 13 步:让我们为函数添加更多动作!确保这些都在函数内部!
- 使用Say INSIDE the reward_scene()函数让wizard说"Here is your reward!"
- 将Treasure Chest放入函数中并将其重命名为treasure 。
- 在treasure的参数中的图像标签后面添加坐标,这样它就不会阻塞wizard !
- 将Function Call拖到您的程序中,在函数外部。将名称更改为reward_scene() 。
To navigate the page using the TAB key, first press ESC to exit the code editor.